package com.woniu.bh.common.core.domain.backstage;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxb
 * @since 2020-10-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bh_system_message")
public class SystemMessage implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 系统消息表id
     */
    @TableId(value = "system_message_id", type = IdType.AUTO)
    private Integer systemMessageId;

    /**
     * 消息内容
     */
    private String systemMessageContent;

    /**
     * 接收者id
     */
    private Integer systemMessageAccepterId;

    /**
     * 接收者类型 1用户 2美容师 3美容馆
     */
    private Integer systemMessageType;

    /**
     * 消息创建时间
     */
    private Long systemMessageCreatTime;

    private Integer systemMessageIsChecked;

}
